﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class DonHangDTO
    {
        private int _maDH;
        private string _ngayLap;       
        private string _ngayGiao;
        private string _tenKH;
        private string _tenDC;
        private string _dienThoai;
        private string _DiaChi;
        private string _email;
        private int _tinhTrang;
        private int _trangThai;
        private int _tongTien;        
        private int _maCTVC;
        private int _maHTG;
        private int _maKH;

        public DonHangDTO()
        { }

        public DonHangDTO(int _maDH,string _ngayLap, string _ngayGiao, string _tenKH, string _tenDC,string _DiaChi, string _dienThoai, string _email, int _tinhTrang, int _trangThai,int _tongTien, int _maCTVC, int _maHTG, int _maKH)
        {
            this._maDH = _maDH;
            this._ngayLap = _ngayLap;
            this._ngayGiao = _ngayGiao;
            this._tenKH = _tenKH;
            this._tenDC = _tenDC;
            this._dienThoai = _dienThoai;
            this._email = _email;
            this._tinhTrang = _tinhTrang;
            this._trangThai = _trangThai;
            this._tongTien = _tongTien;
            this._maCTVC = _maCTVC;
            this._maHTG = _maHTG;
            this._maKH = _maKH;
        }


        public int MaHTG
        {
            get { return _maHTG; }
            set { _maHTG = value; }
        }

        public int MaCTVC
        {
            get { return _maCTVC; }
            set { _maCTVC = value; }
        }

        public int TrangThai
        {
            get { return _trangThai; }
            set { _trangThai = value; }
        }

        public int TinhTrang
        {
            get { return _tinhTrang; }
            set { _tinhTrang = value; }
        }

        public int TongTien
        {
            get { return _tongTien; }
            set { _tongTien = value; }
        }
        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }


        public string DiaChi
        {
            get { return _DiaChi; }
            set { _DiaChi= value; }
        }
        public string DienThoai
        {
            get { return _dienThoai; }
            set { _dienThoai = value; }
        }

        public string TenDC
        {
            get { return _tenDC; }
            set { _tenDC = value; }
        }

        public string TenKH
        {
            get { return _tenKH; }
            set { _tenKH = value; }
        }
        public string NgayLap
        {
            get { return _ngayLap; }
            set { _ngayLap = value; }
        }
        public string NgayGiao
        {
            get { return _ngayGiao; }
            set { _ngayGiao = value; }
        }

        public int MaDH
        {
            get { return _maDH; }
            set { _maDH = value; }
        }

        public int MaKH
        {
            get { return _maKH;}
            set { _maKH = value;}
        }

        public override string ToString()
        {
            return base.ToString();
        }
    }
}
